package com.twetec.cms.model.vo.website;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.twetec.cms.model.vo.base.BaseVO;
import io.swagger.annotations.ApiModelProperty;

public class WebsiteColumnVO extends BaseVO {

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "id", example = "12345646546")
    private Long id;

    @ApiModelProperty(value = "名称", example = "厦门市总工会")
    private String title;

    @ApiModelProperty(value = "是否回收站 0否 1是", example = "0")
    private Integer isRecycle;

    @ApiModelProperty(value = "类型 站点:WEBSITE 栏目:COLUMN", example = "WEBSITE")
    private String type;

    @ApiModelProperty(value = "排序", example = "1")
    private Integer sort;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "上级id", example = "12345646546")
    private Long pid;

    @ApiModelProperty(value = "xpath", example = "12345646546-12345646546")
    private String xpath;

    @ApiModelProperty(value = "pc静态文件存放路径", example = "1")
    private String pcFileUrl;

    @ApiModelProperty(value = "h5静态文件存放路径", example = "1")
    private String h5FileUrl;

    @ApiModelProperty(value = "发布设置 不设置计划发布:NONE 每天发布一次:ONCE 每天发布多次:MANY", example = "NONE")
    private String publishSetting;

    @ApiModelProperty(value = "发布设置次数", example = "1")
    private Integer publishSettingTimes;

    @ApiModelProperty(value = "seo标题", example = "这是seo标题")
    private String seoTitle;

    @ApiModelProperty(value = "seo关键词", example = "这是seo关键词")
    private String seoKeyword;

    @ApiModelProperty(value = "seo描述", example = "这是seo描述")
    private String seoDescribe;

    @ApiModelProperty(value = "合并的站点栏目ids", example = "1111111,222222")
    private String websiteColumnId;

    @ApiModelProperty(value = "合并设置 0:合并栏目并删除目标栏目 1:合并栏目并保留目标栏目", example = "1")
    private Integer mergeSetting;

    @Override
    public Long getId() {
        return id;
    }

    @Override
    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getPublishSetting() {
        return publishSetting;
    }

    public void setPublishSetting(String publishSetting) {
        this.publishSetting = publishSetting;
    }

    public String getSeoTitle() {
        return seoTitle;
    }

    public void setSeoTitle(String seoTitle) {
        this.seoTitle = seoTitle;
    }

    public String getSeoKeyword() {
        return seoKeyword;
    }

    public void setSeoKeyword(String seoKeyword) {
        this.seoKeyword = seoKeyword;
    }

    public String getSeoDescribe() {
        return seoDescribe;
    }

    public void setSeoDescribe(String seoDescribe) {
        this.seoDescribe = seoDescribe;
    }

    public String getPcFileUrl() {
        return pcFileUrl;
    }

    public void setPcFileUrl(String pcFileUrl) {
        this.pcFileUrl = pcFileUrl;
    }

    public String getH5FileUrl() {
        return h5FileUrl;
    }

    public void setH5FileUrl(String h5FileUrl) {
        this.h5FileUrl = h5FileUrl;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public String getXpath() {
        return xpath;
    }

    public void setXpath(String xpath) {
        this.xpath = xpath;
    }

    public Integer getPublishSettingTimes() {
        return publishSettingTimes;
    }

    public void setPublishSettingTimes(Integer publishSettingTimes) {
        this.publishSettingTimes = publishSettingTimes;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getWebsiteColumnId() {
        return websiteColumnId;
    }

    public void setWebsiteColumnId(String websiteColumnId) {
        this.websiteColumnId = websiteColumnId;
    }

    public Integer getMergeSetting() {
        return mergeSetting;
    }

    public void setMergeSetting(Integer mergeSetting) {
        this.mergeSetting = mergeSetting;
    }

    public Integer getIsRecycle() {
        return isRecycle;
    }

    public void setIsRecycle(Integer isRecycle) {
        this.isRecycle = isRecycle;
    }

    @Override
    public String toString() {
        return "WebsiteColumnVO{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", isRecycle=" + isRecycle +
                ", type='" + type + '\'' +
                ", sort=" + sort +
                ", pid=" + pid +
                ", xpath='" + xpath + '\'' +
                ", pcFileUrl='" + pcFileUrl + '\'' +
                ", h5FileUrl='" + h5FileUrl + '\'' +
                ", publishSetting='" + publishSetting + '\'' +
                ", publishSettingTimes=" + publishSettingTimes +
                ", seoTitle='" + seoTitle + '\'' +
                ", seoKeyword='" + seoKeyword + '\'' +
                ", seoDescribe='" + seoDescribe + '\'' +
                ", websiteColumnId='" + websiteColumnId + '\'' +
                ", mergeSetting=" + mergeSetting +
                '}';
    }
}
